<?php
class Digitalus_PageController extends Zend_Controller_Action 
{
    public function init()
    {
        $params = $this->getRequest()->getParams();
        if(isset($params['filter'])) {
            $this->view->addFilter($params['filter']);
        }
    }
    
    public function dynamicAction()
    {
        $this->view->page = Dig_Page::load($this->getRequest()->getParam('page_guid'));
        Zend_Debug::dump($this->_request->getParams());
    }
    
    public function staticAction()
    {
        $page = $this->getRequest()->getParam('uri');
        $this->_helper->viewRenderer('static/' . $page);
    }
}
?>